<?php 

require_once '../PublicIndexController.class.php';

class ExampleIndex extends PublicIndexController
{
	protected function actionIndex()
	{
		echo "Index page!<br /><a href=\"?action=DoSomething\">To the DoSomething-page</a>!";
	}
	
	protected function actionDoSomething()
	{
		echo "I did something!";
	}
}

$index = new ExampleIndex();
$index->dispatch($_GET['action']);

?>